import json
import random


# random.randint()

# list.append()


def func(data):
    return data * 10


# func()

my_list: list[int] = [1, 2, 3]
my_tuple: tuple[str, int, bool] = ("ha", 1, True)
my_set: set[int] = {1, 2, 3}
my_dict: dict[str, int] = {"小美", 16}

# 在注释中进行类型注解
var_1 = random.randint(1, 10)  # type: int
print(var_1)
var_2 = json.loads("name", "小帅")  # type: dict[str,str]

var_3: int = "xi"
var_4: str = 2
